﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PBOffice.Models;
using PBOffice.DAL;

namespace PBOffice.BLL
{
    public class AccFileManager
    {
        public List<AccFile> GetAllAccFileByFileId(int id)
        {
            return new AccFileService().GetAllAccFileByFileId(id);
        }
        public void DeleteAccFile(int accId, int FileId)
        {
            new AccFileService().DeleteAccFile(accId, FileId);
        }
        public void AddAccFile(AccFile acc)
        {
            new AccFileService().AddAccFile(acc);
        }
        public void DeleteAccFile(int FileId)
        {
            new AccFileService().DeleteAccFile(FileId);
        }
    }
}
